#pragma once
#include "ITreeFactory.h"

class TreeFactory: public ITreeFactory
{
private:
	struct compNodes
        {
			bool operator()(INode* left, INode* right) const
                {
					return left->getNum() < right->getNum();
                }
        };
public:
	virtual INode* create(IFrequencyTable* );
};